package storage;

import java.util.HashMap;
import java.util.Map;

import junit.framework.TestCase;

/**
 * тесты для Storage и backend'а
 * 
 * @author Last G
 * 
 */
public class StorageTests extends TestCase
{

	private Map<String, Map<String, String>> config;

	void testMemory()
	{
		config = new HashMap<String, Map<String, String>>();
		config.put("STORAGE", new HashMap<String, String>());
		config.get("STORAGE").put("DBTYPE", "MEMORY");
		try
		{
			Storage stor = new Storage(config);
			mainTestSuite(stor);
		} catch (Exception e)
		{
			fail();
		}
	}

	void mainTestSuite(StorageAdapter stor)
	{

	}
}
